package com.jinghang.scala_base._3_Scala函数高级操作

object StringApp extends App {


  val str = "Hello:"
  val name = "laowang"
  println(str + name)

  println(s"Hello:$name")
  val team = "zz team"

  // 插值
  println(s"Hello:$name, Welcome to $team")


  val b =
    """
      |这是一个多行字符串
      |hello
      |world
      |laowang
    """.stripMargin

  println(b)


}
